.card.card-solid
  .card-header
    h3.card-title
      i.icon.fas.fa-archive
      = t('channels.show.major_versions')
  .card-body.table-responsive.p-0
    - if @versions.count > 0
      table.table
        tr
          th = t('channels.show.release_version')
          th = t('channels.show.total_version')
        - @versions.each do |version|
          tr
            td
              = link_to version, friendly_channel_version_path(@channel, version)
            td
              = @channel.release_version_count(version)
    - else
      .p-3 = t('channels.show.empty_version_shortly')

  - if @versions.count > 0
    .card-footer.p-1
      a.btn.btn-block.text-primary href="#{friendly_channel_versions_path(@channel)}"
        = t('channels.show.more')
